package org.speed.jdk;

import java.util.Iterator;
import java.util.List;

public class ChainImpl implements Chain {

	List<Handler> handlers;
	
	@Override
	public void doChain() {
		
		Iterator<Handler> iterator = handlers.iterator();
		while (iterator.hasNext()) {
			iterator.next().exec(this);
		}
		
		
		
	}

}
